home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_perl.idb / usr / freeware / catman / p_man / cat3 / Fcntl.Z / Fcntl
Encoding:
Text File  |  1998-10-28  |  2.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      FFFFccccnnnnttttllll((((3333))))         22223333////JJJJuuuullll////99998888 ((((ppppeeeerrrrllll 5555....000000005555,,,, ppppaaaattttcccchhhh 00002222))))          FFFFccccnnnnttttllll((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       Fcntl    - load the C Fcntl.h defines
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           use Fcntl;
  13.           use Fcntl    qw(:DEFAULT :flock);
  14.  
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.       This module is just a    translation of the C _f_n_c_t_l._h file.
  18.       Unlike the old mechanism of requiring    a translated _f_n_c_t_l._p_h
  19.       file,    this uses the hhhh2222xxxxssss program (see    the Perl source
  20.       distribution)    and your native    C compiler.  This means    that
  21.       it has a far more likely chance of getting the numbers
  22.       right.
  23.  
  24.      NNNNOOOOTTTTEEEE
  25.       Only #define symbols get translated; you must    still
  26.       correctly pack up your own arguments to pass as args for
  27.       locking functions, etc.
  28.  
  29.      EEEEXXXXPPPPOOOORRRRTTTTEEEEDDDD SSSSYYYYMMMMBBBBOOOOLLLLSSSS
  30.       By default your system's F_* and O_* constants (eg, F_DUPFD
  31.       and O_CREAT) and the FD_CLOEXEC constant are exported    into
  32.       your namespace.
  33.  
  34.       You can request that the _f_l_o_c_k() constants (LOCK_SH,
  35.       LOCK_EX, LOCK_NB and LOCK_UN)    be provided by using the tag
  36.       :flock.  See the _E_x_p_o_r_t_e_r manpage.
  37.  
  38.       You can request that the old constants (FAPPEND, FASYNC,
  39.       FCREAT, FDEFER, FEXCL, FNDELAY, FNONBLOCK, FSYNC, FTRUNC) be
  40.       provided for compatibility reasons by    using the tag
  41.       :Fcompat.  For new applications the newer versions of    these
  42.       constants are    suggested (O_APPEND, O_ASYNC, O_CREAT,
  43.       O_DEFER, O_EXCL, O_NDELAY, O_NONBLOCK, O_SYNC, O_TRUNC).
  44.  
  45.       Please refer to your native _f_c_n_t_l() and _o_p_e_n() documentation
  46.       to see what constants    are implemented    in your    system.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 10/23/98)
  64.  
  65.  
  66.  
  67.